import request from '@/utils/request';

/**
 * 套餐卡列表
 */
export async function goodsList(data) {
  const res = await request.post('/goods/goodsList', data);
  if (res.data.code === 0) {
    return res.data;
  }
  return Promise.reject(new Error(res.data.message));
}
